<?php
/*require_once("formtools/global/api/api.php");
$criteria = array(
  "col_3" => $_POST["email"]
);
// note the the $fields variable should be named to whatever your ft_api_init_form_page() 
// function call returns
if (!ft_api_check_submission_is_unique(5, $criteria, $fields["form_tools_submission_id"]))
{
  // uh-oh! A submission already exists with this email address! Abort, abort! 
  // here, you could do something like set a variable like: $already_exists = true
  // and in the webpage do a little test to see if it's set. If so, let the user know 
  // what's going on
}
else
{
  // call ft_api_process_form function here to continue processing the form submission
}
$fields = ft_api_init_form_page(6);
$params = array(
  "submit_button" => "submit",
  "next_page" => "grazie.php",
  "form_data" => $_POST,
  "file_data" => $_FILES,
  "finalize" => true
    );
ft_api_process_form($params);*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
<?php $page->PutExtraMeta(); ?>
<meta name="robots" content="index,follow" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" media="screen" href="<?=$FILE_CSS?>" />
<link href='http://fonts.googleapis.com/css?family=Dancing+Script:700' rel='stylesheet' type='text/css'>
<?php $page->PutExtraHeader(); ?>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.1.js"></script>
<script type="text/javascript" src="/js/vmenu/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="/js/vmenu/script-vertical.js"></script>
</head>

<body>
<div class="escort">
<div class="container">
  <div class="header">
<!-- inizio escort header -->  
<? include(SYSTEM_ROOT . "template/default/inc-header.php");?>  
<!-- fine escort header -->
  </div>
<br class="clearfloat" />  
<!-- gabbia --><div class="main-top"></div>
<div class="gabbia"> 
  <div class="sidebar1">
	<!-- inizio colonna Escort SX -->
<? include(SYSTEM_ROOT . "template/default/inc-colonna-sx.php");?>    
	<!-- fine colonna Escort SX -->      
</div>
  <div class="content">
	<!-- inizio contenuto Escort -->
<div class="main">
<!-- [start] global messages --><!-- [end] global messages --><!-- [start] content -->

<div id="main-column">
<br class="clearfloat" />


					<?php echo $page->content; ?>
					<?php //$page->CompositeContent($page->CompositeContentType) ?>	
					<?php $page->CompositeContent() ?>
<div id="messages">
				<?php echo $page->AlertContent; ?>
</div>               

<br class="clearfloat" />
<br class="clearfloat" />
<br class="clearfloat" />
<br class="clearfloat" />
</div>
<div id="messages">
<?php echo $page->AlertContent; ?></div>
    <br class="clearfloat" />	

   <!-- fine centro -->

</div>    
    <!-- fine contenuto Escort -->
</div>
	<div class="sidebar2">
<!-- colonna Escort DX --> 
<div align="center"><img src="/images/titolo-textlinks.png" alt="Textlinks Escortfashion.com" width="195" height="46"></div>
<? 
			$lingua_template = (!isset($_SESSION['lingua']) || ($_SESSION['lingua'] =="" || $_SESSION['lingua'] == "it")) ? "" : "-".$_SESSION['lingua'];
			$path_inc_link = SYSTEM_ROOT . "template/" . TEMPLATE_NAME . $lingua_template."/";
			
			//die("LINGUA".$path_inc_link);
			switch($textlink)
			{
				case "escort":				
					include($path_inc_link ."inc-escort.php");
					break;
					
				case "siti-escort":				
					include($path_inc_link ."inc-siti-escort.php");
					break;	
					
				case "siti-trans":				
					include($path_inc_link ."inc-siti-trans.php");
					break;						
					
				case "fotografi":				
					include($path_inc_link ."inc-fotografi.php");
					break;
															
				case "sexy-shop":				
					include($path_inc_link ."inc-sexy-shop.php");
					break;
					
				case "siti-hard":				
					include($path_inc_link ."inc-siti-hard.php");
					break; 					

				case "siti-locali-sexy":				
					include($path_inc_link ."inc-siti-locali-sexy.php");
					break; 	
					
				case "siti-web":				
					include($path_inc_link ."inc-siti-web.php");
					break; 						
			}  
?> 
<br class="clearfloat" />
 <? include(SYSTEM_ROOT . "template/default/inc-colonna-dx.php");?> 
<!-- fine colonna Escort DX -->    
	</div>
    
    <div class="footer">
      <p>
        <? include(SYSTEM_ROOT . "template/default/inc-bannerini-footer.php"); ?>
      </p>
      <!-- end .footer -->
    </div>
    <!-- fine gabbia -->
</div>
<span class="main-bottom">&nbsp;</span>  
<!-- inizio escort footer -->

  <? include(SYSTEM_ROOT . "template/default/inc-footer.php"); ?> 

<!-- fine escort footer -->
<!-- end .container --><br class="clearfloat" /></div>
<div class="title-footer"><strong><?=$BENVENUTO_SU_ESCORTFASHION?></strong></div></div>
</div>
  <? include("inc-google.php"); ?> 
</body>
</html>
